home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / e / mailinglists / amigae.0793july.archive / 000086_crash!mars.let.uva.nl!wouter_Tue, 27 Jul 93 09:48:51 PST.msg < prev    next >
Internet Message Format  |  1994-05-26  |  4KB

  1. Received: by bkhouse.cts.com (V1.16/Amiga)
  2.     id AA00000; Tue, 27 Jul 93 09:48:51 PST
  3. Received: from mars.let.uva.nl by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #15) id m0oKrnT-00002hC; Tue, 27 Jul 93 09:22 PDT
  5. Received: by mars.let.uva.nl id AA07309
  6.   (5.65c/IDA-1.4.4 for amigae@bkhouse.cts.com); Tue, 27 Jul 1993 18:26:25 +0200
  7. Return-Path: <wouter@mars.let.uva.nl>
  8. Date: Tue, 27 Jul 1993 18:26:25 +0200
  9. Message-Id: <199307271626.AA07309@mars.let.uva.nl>
  10. X-Organisation: Department of Computational Linguistics,
  11.                 University of Amsterdam
  12.                 Spuistraat 134, 1012 VB Amsterdam, The Netherlands
  13. From: Wouter van Oortmerssen <wouter@mars.let.uva.nl>
  14. To: amigae@bkhouse.cts.com
  15. Subject: includes and stuff
  16.  
  17. >> Salve, amici!
  18. >> 
  19. >> [xpk stuff deleted]
  20. >> I'm not 100% sure the xpkmaster.m module is exactly the way it should be. 
  21. >> Running Showmodule through it, it came up the way I expected, but I should
  22. >> warn you that I did NOT use the standard 'p2m' program to create the
  23.  
  24. I checked the file format, but that seems to be OK (of course I don't
  25. know if that also holds for the actual registers etc.).
  26.  
  27. >> module, as I don't have c include files, and I didn't feel like using
  28. >> harddrive space on maintaining C include files when I very much prefer
  29. >> working in E.
  30.  
  31. You only need the xpk_whatever_pragmas.h file, which you can delete after
  32. you've succesfully completed the conversion. No space wasted, I'd say.
  33.  
  34. >> In any event, I'm pretty sure the xpkmaster.m module will work as
  35. >> expected.  I simply examined the pragmas and wrote the binary module file
  36. >> by hand using a sector editor.  I figured out Wouter's system for handling
  37.  
  38. Oh my what a work. didn't the xpk distribution have a pragmas file?
  39.  
  40. >> that kind of module work by comparing Showmodule's output of a module to 
  41. >> that module's hex values.. pretty simple, really.  But, there's always the
  42. >> chance that I screwed up somehow, so I thought I'd point this out.
  43. >>
  44. >> [more xpk]
  45. >>
  46. >> I'd like to request, however, that someone write a program to convert a
  47. >> fairly standard text file to a binary module file for use by E.  The
  48. >> current method of needing C or ASM include files to do something that
  49. >> could easily be handled by examining the source code and re-writing it
  50. >> to another program's syntax is inelegant, in my humble opinion.  In any
  51. >> event, it slowed me down <grin>.
  52.  
  53. well, the reason for this is simply that those libraries usually
  54. come with C/Asm includes anyway, and it's the fastest way to get
  55. a .m file. It will take some time before all libraries come with
  56. E modules.
  57.  
  58. >> That is to say, it'd be nice to have a program to take a text file that
  59. >> had such syntax as:
  60. >>
  61. >> [syntax examples deleted] 
  62. >> 
  63. >> and so on, and convert it into binary .m files that E could use.  I've
  64. >> found that most of these include files are not that difficult to
  65. >> understand, and could be re-written as some other 'standard' that could be
  66. >> converted to a binary.  
  67.  
  68. Well, for CONST and OBJECT definitions, with the coming v2.5 EC you can
  69. just write them in E syntax, and use EC to produce a .m file.
  70. For library definitions the .fd syntax might be nicer than pragmas
  71. (they're more readable and quite language independant). I could probably
  72. write an fd2module program. For now, some may have the fd2pragma program
  73. that can be used to get from fd to module (Son le? :-).
  74.  
  75. >> In any event, if and when I FINALLY finish my own program, and I have
  76. >> enough time to work on this, I might consider trying to create such a
  77. >> utility.. but I really don't anticipate having the time to handle it.  If
  78. >> someone else out there is willing to work on such a project, there is at
  79. >> least one user out here who would be grateful.
  80.  
  81. Wouter
  82.  
  83.    ____  Wouter van Oortmerssen, Wouter@alf.let.uva.nl
  84.   / __/  "Einen Satz verstehen, heisst, wissen was der Fall ist,
  85.  / __/    wenn er wahr ist" - Wittgenstein
  86. /___/  ->subscribe to the E mailing list: amigae-request@bkhouse.cts.com<-